﻿using A.M.ETO;
using A.M.Storage.I_Application;
using Newtonsoft.Json;
using Public_Class_Library;
using Q.M.Finance.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using W.M.Materiel.Domain.Entity;
using W.M.Materiel.Infrastruecure.IRepository;

namespace W.M.Materiel.Application.IServices
{
    public interface IPurchase_order_tableServices: IBaseServices<purchase_order_table,string>
    {
        Task<PageETO<purchase_order_table>> GetPurchase_Order_Table(int pageSize, int pageIndex, string? id);
        /// <summary>
        /// 反填
        /// </summary>
        /// <param name="salesid"></param>
        /// <returns></returns>
        Task<purchase_order_table> FindsalesInfo(string? purchase_code);
 
        /// <summary>
        /// 根据采购单号反填收款方信息
        /// </summary>
        /// <param name="salesid"></param>
        /// <returns></returns>
        recipient_information GetInfo(string purchase_code);
      
    }
}
